///
///
///Page for can anysis channel data chang.
///
///
///
#ifndef CANANALYSIS_H
#define CANANALYSIS_H
//add CanSettings head files
#include <QMainWindow>
#include <QWidget>
//analysis singleton
#include <QMutex>
#include <QMutexLocker>
#include <QDebug>
#include<QStyleFactory>
#include "cansettings.h"
namespace Ui {
class Cananalysis;
}

class Cananalysis : public QWidget
{
    Q_OBJECT

public:
    //get instance
    static Cananalysis *getInstance();
    ~Cananalysis();

private slots:
    void on_canOpenNetwork_clicked();

private:
    //make construct function mbmber private to protect multi construction.
    explicit Cananalysis(QWidget *parent = nullptr);
    Ui::Cananalysis *ui;
    //add static member variable to point unique entity.
    static Cananalysis* instance;
};

#endif // CANANALYSIS_H
